package com.coco.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 请假类型实体类
 * 对应数据库表 leave_types
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class LeaveType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 请假类型ID
     */
    private Integer id;

    /**
     * 请假类型名称
     */
    private String typeName;

    /**
     * 请假类型描述
     */
    private String description;

    /**
     * 适用条件
     */
    private String applicableConditions;

    /**
     * 记录创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 记录最后更新时间
     */
    private LocalDateTime updatedAt;
}